package com.singfee.gisservice.entity;

import java.io.Serializable;

public class Point implements Serializable {

    //Indicates if the geometry has M values.
    private Boolean hasM;

    //Indicates if the geometry has z-values (elevation).
    private Boolean hasZ;

    //The latitude of the point.
    private double latitude;

    //The longitude of the point.
    private double longitude;

    //The m-coordinate of the point in map units.
    private double m;

    //The string value representing the type of geometry.
    //point is always  "point"
    private String type="point";

    //The x-coordinate (easting) of the point in map units.
    private double x;

    //The y-coordinate (northing) of the point in map units.
    private double y;

    //The z-coordinate (or elevation) of the point in map units.
    private double z;

    public Boolean getHasM() {
        return hasM;
    }

    public void setHasM(Boolean hasM) {
        this.hasM = hasM;
    }

    public Boolean getHasZ() {
        return hasZ;
    }

    public void setHasZ(Boolean hasZ) {
        this.hasZ = hasZ;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getM() {
        return m;
    }

    public void setM(double m) {
        this.m = m;
    }

    public String getType() {
        return type;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public double getZ() {
        return z;
    }

    public void setZ(double z) {
        this.z = z;
    }



    public String toSting()
    {
      StringBuilder stringBuilder=new StringBuilder();
      return stringBuilder.toString();
    }

}
